DX11 IS SPRITE OVERLAPPING
Checks whether sprite A is overlapping sprite B at any point.
This is a very simple check that only considers the bounding rectangles of the two sprites.
This information can be used to implement a very simple collision system akin to that exposed by the standard DBPro library
by keeping track of when two sprites begin to overlap (they collide / "hit") and when they no longer are overlapping.
Return Boolean = DX11 IS SPRITE OVERLAPPING(spriteA, spriteB)
spriteA
Dword
The first sprite to check whether its bounding rectangle overlaps that of the second sprite.
spriteB
Dword
The second sprite to check whether its bounding rectangle overlaps that of the first sprite.
true if the given sprites are currently overlapping, or false otherwise.
SPRITE Functions Menu
DX11 Function Categories